# macro(my_parse )
#     message("${ARGN}")
#     cmake_parse_arguments(
#         "MY"#前缀
#         "LOG;FILE"#可选参数
#         ""#单值参数
#         ""#多值参数
#         ${ARGN}#具体变量
#     )
#     message("${MY_LOG}")
#     message("${MY_FILE}")
# endmacro()

# my_parse(LOG)

macro(my_macro B)
    if(B)
        message("B is true")
    else()
        message("B is false")
    endif()
endmacro()

my_macro(TRUE)# B is false